# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        博智科技  
# Name:         test342
# Description:
# Author:       yzl
# Date:         2019-01-16
#-------------------------------------------------------------------------------


#要求解决小于0 >120岁的输入

age = -1

if age > 0 and age <=12:
    if age > 0 and age <= 6:
        print('幼儿')
    else:
        print('小学生')
elif age > 12 and age <= 18:
    print('少年')
elif age > 18 and age <= 60:
    print('成人')
elif age < 0 or age > 120:
    print('年龄异常')
else:
    print('老人')

